|
|
|
|
|
|
|
You still need to learn about ODBC because there are not that many native providers for OLE DB yet, so you still need to use the ODBC drivers to get at some database servers. |
|
|
|
|
|
|
|
|
Lets walk through how to create an ODBC data source. (If youre familiar with this process already, feel free to skip ahead to the next section.) |
|
|
|
|
|
|
|
|
Once ODBC has been installed on your system, you can create new data source names (DSNs) using the ODBC Administrator program. Access the ODBC Administrator by clicking the appropriate icon in the Control Panel (see Figure 12.4). |
|
|
|
|
|
|
|
|
Figure 12.4
The ODBC Administrator icon. |
|
|
|
|
|
|
|
|
After clicking the icon shown in Figure 12.4, youll be presented with the ODBC Data Sources Administrator (DSA) dialog box shown in Figure 12.5. |
|
|
|
 |
|
|
|
|
NOTE You may have a slightly different version than the one Im presenting in this book, but it should have all the same elements. The ODBC DSA allows you to add, delete, and modify data sources. A data source name is a name you define to point to a particular data source. A data source may be SQL Server, Oracle, or Microsoft Access, for example. You may have one or more ODBC data source names that point to one data source. |
|
|
|
|
|
|
|
|
Figure 12.5
The ODBC Data Source Administrator. |
|
|
|
|
|